/* src/assets/navbar.css */

/* 导航栏整体样式 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: mediumblue;
    color: white;
}

/* 导航标题样式 */
.navbar-left h1 {
    margin: 0;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

/* 导航链接样式 */
.navbar-right a {
    color: white;
    margin-right: 20px; /* 设置间距 */
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-right a:hover {
    color: lightgray; /* 悬停效果 */
}

/* 搜索框样式 */
.search-container {
    position: relative;
}

.search-input {
    padding: 8px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.search-suggestions {
    position: absolute;
    top: 40px;
    width: 200px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
}

.search-item {
    padding: 10px;
    cursor: pointer;
    color: black;
}

.search-item:hover {
    background-color: #f0f0f0;
}
